package exsun.jt808.data.distribute_data.jt808;

public class AreaProperty {
    /**
     * 时间限制是否有效
     */
    private boolean bTime;
    /**
     * 速度限制是否有效
     */
    private boolean bSpeed;
    /**
     * 进区域是否报警给驾驶员
     */
    private boolean bInToDriver;
    /**
     * 进区域是否报警给平台
     */
    private boolean bInToPlat;
    /**
     * 出区域是否报警给驾驶员
     */
    private boolean bOutToDriver;
    /**
     * 出区域是否报警给平台
     */
    private boolean bOutToPlat;
    /**
     * 纬度类型
     * 0：北纬；1：南纬
     */
    private int latType;
    /**
     * 经度类型
     * 0：东经；1：西经
     */
    private int longType;
    /**
     * 0：允许开门；1：禁止开门
     */
    private int allowOpenDoor;
    /**
     * 0：进区域开启通信模块；1：进区域关闭通信模块
     */
    private int openCommunicationModule;
    /**
     * 0：进区域不采集 GNSS 详细定位数据；1：进区域采集 GNSS 详细定位数据
     */
    private int collectGNSSInfo;

    /**
     * 区域类型:1：装货区域，2：禁区，3：倾倒区域 4：限速圈 5：停车场
     * 其它数据预留，例如：001=1 装货区，010=2 禁区，011=3 倾倒区
     * @return
     */
    private int AreaType;

    public boolean isbTime() {
        return bTime;
    }

    public void setbTime(boolean bTime) {
        this.bTime = bTime;
    }

    public boolean isbSpeed() {
        return bSpeed;
    }

    public void setbSpeed(boolean bSpeed) {
        this.bSpeed = bSpeed;
    }

    public boolean isbInToDriver() {
        return bInToDriver;
    }

    public void setbInToDriver(boolean bInToDriver) {
        this.bInToDriver = bInToDriver;
    }

    public boolean isbInToPlat() {
        return bInToPlat;
    }

    public void setbInToPlat(boolean bInToPlat) {
        this.bInToPlat = bInToPlat;
    }

    public boolean isbOutToDriver() {
        return bOutToDriver;
    }

    public void setbOutToDriver(boolean bOutToDriver) {
        this.bOutToDriver = bOutToDriver;
    }

    public boolean isbOutToPlat() {
        return bOutToPlat;
    }

    public void setbOutToPlat(boolean bOutToPlat) {
        this.bOutToPlat = bOutToPlat;
    }

    public int getLatType() {
        return latType;
    }

    public void setLatType(int latType) {
        this.latType = latType;
    }

    public int getLongType() {
        return longType;
    }

    public void setLongType(int longType) {
        this.longType = longType;
    }

    public int getAllowOpenDoor() {
        return allowOpenDoor;
    }

    public void setAllowOpenDoor(int allowOpenDoor) {
        this.allowOpenDoor = allowOpenDoor;
    }

    public int getOpenCommunicationModule() {
        return openCommunicationModule;
    }

    public void setOpenCommunicationModule(int openCommunicationModule) {
        this.openCommunicationModule = openCommunicationModule;
    }

    public int getCollectGNSSInfo() {
        return collectGNSSInfo;
    }

    public void setCollectGNSSInfo(int collectGNSSInfo) {
        this.collectGNSSInfo = collectGNSSInfo;
    }

    public int getAreaType() {
        return AreaType;
    }

    public void setAreaType(int areaType) {
        AreaType = areaType;
    }
}
